<%@ include file="/common/taglibs.jsp"%>
<script>
        /*function fillGridOnEvent(){
        	//var main_inner_width = getWindowWidth()-10;
        	//var main_inner_height = parseInt(getWindowHeight())-145;
            $("#jQGrid").html("<table id=\"list\"></table><div id=\"page\"></div>");
            jQuery("#list").jqGrid({
                url:'/loadGridData?method=loadGridData&gridName=institute',
                datatype: "json",
                height: 250,
                width: 510,
                colNames:['Name','Contact No','Email','Action'],
                colModel:[
                     {name:'instituteName',index:'instituteName', width:200,sortable:true},
                     {name:'phoneNumber',index:'phoneNumber', width:200,sortable:false},
                     {name:'emailId',index:'emailId', width:55,sortable:false},
                     {name:'action',index:'action', width:55,sortable:false},
                 ],
                multiselect: false,
                paging: true,
                rowNum:10,
                rowList:[10,20,30],
                pager: $("#page"),
                loadonce:true,
                caption: "Institute Details"
            }).navGrid('#page',{edit:false,add:false,del:false});
        }
        jQuery().ready(function (){
            //fillGrid();
        });*/
</script>
<!-- <body onload="fillGridOnEvent();"> -->
<body>
<div style="margin-bottom:10px;height:45px;">
	<ul class="glassList" style="float:right;">
	    <li>
	    	<a class="button-green" href="<c:url value='/showInstitute'/>">Create New</a> 
	    </li>
	</ul>
</div>

<div id="user-grid">
<%= request.getAttribute("instituteGridString") %>
<div id="gridRecordDetails"></div>
</div>


<!--<div>
	<table id="instHeaderTable" class="reference">
		<tr>
			<th>Id</th>
			<th>Name</th>
			<th>Contact No</th>
			<th>Email</th>
		</tr>
		<s:iterator value="instList" status="rowstatus">
			<tr>
				<td>
					<a href='/editInstitute?method=showEditInstitute&institute.id=${id}'>
						<s:property value="instituteName" />
					</a>
				</td>
				<td><s:property value="instituteName" /></td>
				<td><s:property value="phoneNumber" /></td>
				<td><s:property value="emailId" /></td>
			</tr>
		</s:iterator>
	</table>
</div>
-->
</body>